<!DOCTYPE html>
<html>
<head>

<script type="text/javascript" src="<?php echo dirname(str_replace(_DOCUMENT_ROOT, '', str_replace('\\', '/', __FILE__)) );?>/js/history.js"></script>
<script type="text/javascript" src="<?php echo dirname(str_replace(_DOCUMENT_ROOT, '', str_replace('\\', '/', __FILE__)) );?>/js/domready.js"></script>
<script type="text/javascript" src="<?php echo dirname(str_replace(_DOCUMENT_ROOT, '', str_replace('\\', '/', __FILE__)) );?>/js/ajax_history.js"></script>
<script type="text/javascript" src="<?php echo dirname(str_replace(_DOCUMENT_ROOT, '', str_replace('\\', '/', __FILE__)) );?>/js/common_func.js"></script>

<link href="<?php echo dirname(str_replace(_DOCUMENT_ROOT, '', str_replace('\\', '/', __FILE__)) );?>/style.css" rel="stylesheet" type="text/css" />

<meta name="keywords" content="<?php echo $arOut['meta_keywords'];?>" />
<meta name="description" content="<?php echo $arOut['meta_description'];?>" />
<?php echo $arOut['add_head'];?>
<title><?php echo $arOut['title'];?></title>

<script type="text/javascript">

</script>
</head>
<body>
<div id="header" class="test">
	<?php include 'header_ajax.php';?>
</div><!--header-->
<div id="noreload" style="position: fixed; top:50px; left:30%; border: 2px solid red; padding:10px;background-color:#CCC">
<noscript><h1>Javascript отключен или не поддерживается браузером. Работа сайта не возможна...</h1></noscript>
Я не перезагружаюсь :)...<br/>
Вы на сайте уже <b id="scount">00:00:00</b>
<script type="text/javascript">
var cnt=0;
setInterval( function(){
	cnt++;
	var elem= document.getElementById('scount'),
		hour = Math.floor(cnt/3600), min = Math.floor(cnt/60), sec = cnt%60; 
	if(hour<10) hour='0'+hour; 
	if(min>59) min = min%60; if(min<10) min='0'+min; 
	if(sec<10) sec='0'+sec;
	elem.innerHTML = hour+':'+min+':'+sec;
},1000);
</script>
</div>
<div id="main" style="min-height:600px;">